json.array!(@stocks) do |stock|
  json.extract! stock, :id, :drug_id, :inventory_id, :quantity, :created_at, :updated_at, :created_by, :updated_by
  json.url stock_url(stock, format: :json)
end
